Categories
Core JAVA

What is Command-Line Argument 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 […]

Categories
Core JAVA

What is JVM 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 […]

Categories
Core JAVA

What is Main method 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 […]

Categories
Core JAVA

Access Specifier 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 […]

Categories
Core JAVA

Features of java with description…?

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 […]

Categories
Core JAVA

Difference between JAVA and C++

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 […]

Categories
C Core JAVA

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 […]

Categories
Core JAVA

Process to compile and execute the java program…?

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 […]

Categories
Core JAVA

What is java and why it must be need….?

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 […]