This EBook is not Just Core Java, but also includes some concepts of Advance Java like Basics of JDBC, Event Programming Language JAVA in Hindi. Java in Hindi Sams Teach Yourself Java™ in 24 Hours (Covering Java 7 and script, one can clearly see that the Gondi language is very distinct from Telugu . 13 मार्च Java Language Tutorial in Hindi: इस Post में C in Hindi पुस्‍तक से लिए Java Programming Language in Hindi | Page: | Format: PDF.

Java Language Pdf In Hindi

Language:English, Portuguese, German
Published (Last):09.03.2016
ePub File Size:22.62 MB
PDF File Size:8.73 MB
Distribution:Free* [*Registration Required]
Uploaded by: JOANIE

यदि आप Java Programming Language का प्रयोग करते हुए OOPS आधारित Object Oriented Programming सीखना चाहते हैं, तो. Java in Hindi Updated - Ebook download as PDF File .pdf), Text File .txt) or read book online. bcc falna updated books free download. Java in Hindi. Introduction and History of Java · Java Basics · Hello Program · Reserved Keywords · Data Types · Variables · Operators · Loops and Statements .

Protected:Method,Field can be accessed from the same class to which they belong or from the sub-classes,and from the class of same package,but not from outside. Default: Method,Field,class can be accessed only from the same package and not from outside of it's native package. Private: Method,Field can be accessed from the same class to which they belong.

What's the purpose of Static methods and static variables? Ans: When there is a requirement to share a method or a variable between multiple objects of a class instead of creating separate copies for each object, we use static keyword to make a method or variable shared for all objects. What is data encapsulation and what's its significance? Ans: Encapsulation is a concept in Object Oriented Programming for combining properties and methods in a single unit.

Encapsulation helps programmers to follow a modular approach for software development as each object has its own set of methods and variables and serves its functions independent of other objects.

Encapsulation also serves data hiding purpose. What is a singleton class? Give a practical example of its usage. A singleton class in java can have only one instance and hence all its methods and variables belong to just one instance. Singleton class concept is useful for the situations when there is a need to limit the number of objects for a class.

Core Java Tutorial For Beginners With Examples In Hindi

The best example of singleton usage scenario is when there is a limit of having only one connection to a database due to some driver limitations or because of any licensing issues. What are Loops in Java?

What are three types of loops? Ans: Looping is used in programming to execute a statement or a block of statement repeatedly. There are three types of loops in Java: 1 For Loops For loops are used in java to execute statements repeatedly for a given number of times. For loops are used when number of times to execute the statements is known to programmer.

In while loops, condition is checked first before execution of statements.

Hence in case of do while loop, statements are executed at least once. Q7: What is an infinite Loop? How infinite loop is declared? Ans: An infinite loop runs without any condition and runs infinitely.

An infinite loop can be broken by defining any breaking logic in the body of the statement blocks. What is the difference between continue and break statement? Ans: break and continue are two important keywords used in Loops.

When a break keyword is used in a loop, loop is broken instantly while when continue keyword is used, current iteration is broken and loop continues with next iteration. In below example, Loop is broken when counter reaches 4. What is the difference between double and float variables in Java?

Ans: In java, float takes 4 bytes in memory while Double takes 8 bytes in memory. Float is single precision floating point decimal number while Double is double precision decimal number.

What is Final Keyword in Java? Give an example. Ans: In java, a constant is declared using the keyword Final. Value can be assigned only once and after assignment, value of a constant can't be changed. This method are faster than any other method,because they are resolved at complied time. When a class is declares as final,it cannot be subclassed. Example String,Integer and other wrapper classes.

What is ternary operator? Ans: Ternary operator , also called conditional operator is used to decide which value to assign to a variable based on a Boolean value evaluation.

Articles from => Java in Hindi

It's denoted as? In the below example, if rank is 1, status is assigned a value of "Done" else "Pending". Ans: Using Math.

What is default switch case? Give example. Ans: In a switch statement, default case is executed when no other switch condition matches. Default case is an optional case.

Related titles

It can be declared only once all other switch cases have been coded. In the below example, when score is not 1 or 2, default case is used. What's the base class in Java from which all classes are derived?

Ans: java. Can main method in Java can return any data?

Ans: In java, main method can't return any data and hence, it's always declared with a void return type. What are Java Packages? What's the significance of packages?

Ans: In Java, package is a collection of classes and interfaces which are bundled together as they are related to each other. Use of packages helps developers to modularize the code and group the code for proper re-use.

Other books: LEARN HINDI PDF

Once code has been packaged in Packages, it can be imported in other classes and used. Can we declare a class as Abstract without having any abstract method?

Ans: Yes we can create an abstract class by using abstract keyword before class name even if it doesn't have any abstract method. However, if a class has even one abstract method, it must be declared as abstract otherwise it will give an error. These free Java books cover a wide range of technology including core Java, J2EE, If you will follow examples given int his book, you will learn lambdas.

These 4 free and quality e- books help beginners learn Java programming easily. This is a very detailed book with a lot of code examples and in-depth explanations.

Learn Java with hands-on examples Completely from Scratch. Course details. In our lectures,This course creates easy to understand examples for each of the concepts. This is free Learn Java Language through video lectures in the simplest way possible.

Core Java in Hindi

You can easily learn programming in C, don't worry if you belongs to little weak in English. What is the best. Instance Initializer in Java. Polymorphism in Java Polymorphic Parameters in Java Virtual Methods in Java Abstract Method in Java.

Array in Java Two and Multidimensional Array in Java Array of References Class in Java Heterogeneous Collection in Java Vector Class in Java Hashtable Class in Java. Exception Handling in Java Catching Exception with try-catch block in Java User Defined Exception in Java.

Top 100 Java Interview Questions with Answers

Layout Managers in Java FlowLayout Manager in Java Panel in Java Why Runnable Interface is used in Java? JavaScript and VBScript are examples of object-based programming languages. It simplifies the software development and maintenance by providing some concepts:. Arguments and Parameters in Java You can also download paperback edition of this book on site.