






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Short definitions of basics of java . keywords ,datatypes etc
Typology: Summaries
1 / 10
This page cannot be seen from the preview
Don't miss anything!
-Sanskriti Krishna Shrivastava 4 th June 2022
storage. 8 Compilers more often take a large amount of time for analyzing the source code. In comparison, Interpreters take less time for analyzing the source code. 9 C, C++, C#, etc are programming languages that are compiler based. Python, Ruby, Perl, SNOBOL, MATLAB, etc are programming languages that are interpreter based. **1 0
- The main advantage is that the code produced by a compiler works faster than the code generated by an interpreter. Compiler produces optimized code for a given processor and this code usually consumes far less resources than the code of an interpreter. 3) What are the different data types in java? - Object Program Compiler Source ptogram program^ Source^ Intermediate code Interpreter
Data Type Default Value Default size boolean false 1 bit char '\u0000' 2 byte byte 0 1 byte short 0 2 byte int 0 4 byte long 0L 8 byte float 0.0f 4 byte double 0.0d 8 byte 4) What are the different keywords in java?
- Here is a list of keywords in the Java programming language. You cannot use any of the following as identifiers in your programs. The keywords const and goto are reserved, even though they are not currently used. true, false, and null might seem like keywords, but they are actually literals; you cannot use them as identifiers in your programs. Abstract continuefor new switch assert*** default goto* package synchronized boolean do if private this break double implements protected throw
For many hardware and software platforms, JVMs are available (i.e. JVM depends on the platform). JVM is the Java Virtual Machine – it actually executes Java ByteCode. JRE is the Java Runtime Environment – it contains a JVM, among other things, and is what you need to run a Java program. JDK is the Java Development Kit – it is the JRE, but with javac (which is what you need to compile Java source code) and has other programming tools added.