Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
explain java flow control if else else if while for do while switch case break continue goto is a reserved word it is not implementedwell talk about
explain unicode in javajava uses the unicode character set it is a two-byte character code set which has characters representing almost overall
explain the char data type in javaa char is a single character in which a letter a digit a punctuation mark a tab a space or something same a char
how to convert string value to number in javawhile processing user input it is frequent essential to convert a string in which the user enters into
what is arithmetic promotion assignment and castingin an assignment statement ie if theres an equals sign java compares the type of the left hand
explain arithmetic promotion and binary operationsan int divided through an int is an int and a double divided by a double is a double but what about
give the example of mixing data type in javamixing data typesorder can form a difference while data types are mixed for example 1 2 35 0035 1 2
what is mixing data typesas well as merging various operations you can mix and match various numeric data types on the similar line the program below
list the parentheses used in java languageas usual heres the output javac fahrtocelsiusjava java fahrtocelsius0 -17777820 -66666740 44444460
explain parentheses in java sometimes the default sequence of evaluation isnt what you want for example the formula to change a fahrenheit
explain operator precedence in java its probable to combine multiple arithmetic expressions in one statement for example the subsequent line adds the
explain the remainder or modulus operator in javajava has one significant arithmetical operator you might not be familiar with also called as the
list the unexpected quotients in java23 032 110 arithmeticexception00 arithmeticexception1000 inf100 inf0000 nan-1000 -infinf 1 infinf inf
write a program to perform multiplication and division in javaof course java could also do multiplication and division because most keyboards dont
write a program to add of doubles in javadoubles are treated much the similar way but now you obtain to use decimal points in the numbers this is a
write a program to add integer valueclass addints public static void main string args int i 1 int j 2 systemoutprintlni is i systemoutprintlnj
what are separators in javaseparators help elaborates the structure of a program the separators used within helloworld are parentheses braces the
list the keywords which are used in java 11the list of keywords which are used in java 11 are given belowkeywordpurposebooleandeclares a boolean
what are the role of keywords in javakeywords are identifiers such as public static and class in which have a special meaning inside java source code
how to begin a variable name with a numberif you need to starts a variable name along with a digit prefix the name youd like to have eg 8ball along
explain identifiers in java identifiers are the names of variables classes methods packages and interfaces unlike literals they are not the things
explain term literals in javaliterals are pieces of java source code which mean exactly what they say for example hello world is a string literal and
what is white space explain proper use of white space in javawhite space consists mainly of the space character in which you generates through
describe java operatorsan operator is a symbol which operates on one or more arguments to generate a result the hello world program is so easy it
explain all java primitive data typesboolean 1-bit may take on the values true and false only true and false are describe constants of the language