Variable/Data member:- The variable or data member in java is a block of memory which can store a data value. In Java, all the variable should be declared before they can be used. Java support 6 types of variable Local Variable Static Variable Non-static Variable Final Variable Transient Variable Volatile Variable Local Variable The variable… Continue reading Variable or data member in java
Class:- Class in Java is the selection of similar types of object. From one class we can create n number f objects and n number of objects getting together to make a class. A class is declared using class keyword. Pro-grammatically class is nothing but a keyword which is used to declare any user-defined class. It is… Continue reading Class in java ?
Operator in JAVA:- The operator is the symbol that performs a specific operation on one, two and three operands and returns a result. Operator in JAVA is a symbol that tells to the compiler to perform a certain manipulation. It is for manipulate data and variables. Java support total 44 no. of operators. Mainly operator… Continue reading Operator in JAVA
DATAYPE AND WRAPPER CLASS DATATYPE Java language support the concept of primitive datatype like c or c++ If a language support primitive datatype that language cannot be a pure object oriented programming language. To make java language pure object oriented it supports the concept of wrapper class. As java language support the concept of architecture… Continue reading Data type and Wrapper class in java
Command-line Argument Command-line argument is a method which user will give inputs through the console(command prompt) using commands.The argument accepted by main method is known as command line argument. The main method of java only access array of string as an argument. The argument passed from the console can be received in the JAVA program and… Continue reading What is Command-Line Argument in java?
JAVA VIRTUAL MACHINE(JVM) JVM in JAVA stands for java virtual machine. It is a system software which is inbuilt to operating system. The entire JVM developed in C programming As it is developed in C language it is platform dependent. JVM for the windows OS is different from the Linux OS. JVM is responsible to… Continue reading What is JVM in java…?
Main method in java:– Main method in Java is the entry point of the program.The syntax is always public static void main(String args). public static void main(String args) The prototype of main method is predefined but the logic of main function given by user so it is user defined. The existence of main method never… Continue reading What is Main method in Java ?
Access-specifier in JAVA:- Access Specifier in java regulate access to class,field & method. There are 4 types of access specifier present in java such as:- Public Protected Default Private The only job of access specifier is to scope the boundary of variable method constructor class. 1.Public:- a.Public has less restriction. b.In other word is has… Continue reading Access Specifier in java…
Features of java with description:- Platform Independent: – If the application is able to execute in any environment is known as platform independent application. If a language support to develop a platform independent application is known as platform independent language. Open Source: – The source code of java development or java libraries is not bounded… Continue reading Features of java with description…?
Difference between Java and C++:- The Difference between JAVA and C++ are JAVA:- 1.JAVA was developed in 1999. 2.JAVA was developed by James Gosling. 3.Java is successor of C and C++. 4. There are 50 keyword present in JAVA. 5.Java use package. 6.Java doesn’t support preprocessor. 7. There is no concept of pointer in… Continue reading Difference between JAVA and C++
Difference between JAVA and C:- The difference between JAVA and C are given below:- JAVA:- 1.JAVA was developed in 1999. 2.JAVA was developed by James Gosling. 3.Java is object-oriented. 4.Java is both compiled and interpreted language. 5.Java is a high-level language. 6.Java doesn’t support pre-processor. 7. There is no concept of pointer in java. 8.Java… Continue reading Difference between JAVA and C
A process to compile and execute the java program:- In JAVA there is some step to process and execute the java program. A compilation is a process in which convert the program from a high-level language to machine level language.Java compilers include the Java Programming Language Compiler (javac). The content of each class contained in… Continue reading Process to compile and execute the java program…?
What is java and why it must need…? what is java:-Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops… Continue reading What is java and why it must be need….?