Before we discuss Java data types, programming languages categorized into two types there are, Image referred from: https://nosleepjavascript.com/javascript-is-best/ Statically typed programming languages Statically typed languages require variables must first be declared before they can be used that are checked at compile-time. Examples of statically typed languages include Java, C, C++, and Swift. In these languages, […]
Read MoreDictionary -> Key – Value Pair-> No Duplicate keys allowed-> Duplicate values are possible-> Heterogeneous objects for both keys and values allowed-> Insertion Order is not maintained-> Dictionaries are mutable-> Indexing and Slicing – not supported Dictionary Creation: d = {}d = dict()d[10] = ‘muthu’d[200] = ‘kavin’ d = {10:’muthu’,200:’kavin’} Accessing Data from Dictionary: print(d[100])print(d[2]) […]
Read MoreProgramming Paradigms – கருத்துரு Python –> is a multi programming paradigms 1. Functional Programming features – C, Python 2. Object Oriented Programming –> Compilers C++, C#, Java, Python 3. Scripting –> Interpreter Powershell, Javascript, Python 4. Modular Programming – Modula 3, Python Features of Python: 1. Simple 2. Open Source, Free 3. High Level Language […]
Read MoreThis blog explain about Java Interview Questions. Basic Java Interview Questions. 1. What is Java? 2. Explain about Java Virtual Machine? 3. What are the features of Java? 4. How does Java enable high performance? 5.Differentiate between JVM, JRE, and JDK. 6. What is the JIT compiler? 7. Which Java IDE to use and why? […]
Read MoreThe Scanner class is mainly used to get the user input, and it belongs to the java.util package. In order to use the Scanner class, you can create an object of the class and use any of the Scanner class methods. SCANNER CLASS METHODS : nextBoolean – reads a boolean value from the user nextByte() […]
Read MoreBelow are the top 45 Java Difference between – Interview Questions asked. We can firmly say, one who prepares these questions elaborately – has almost nothing else to prepare for a Java Developer Interview. 1) Difference between =, == operator2) Difference between ==, equals() method3) Difference between Abstract class and final class4) Difference between abstract […]
Read MoreDo you ever think about – How to say “Thali Kattu” or “Arathi Edu” in English? This tutorial contains the details for the same. “Thali Kattu” or “Arathi Edu” are traditional in Indian or Tamil Marriages. Thali is referred as ‘Mangal Sutra’ in few other Indian languages. But, How should we say exactly in English? […]
Read Moreகதை #1: அது ஒரு அடர்ந்த காடு. அங்கு ஒரு நரியும் கழுதையும் வாழ்ந்தன. அவை இரண்டும் ஒரு உடன்படிக்கை செய்து கொண்டன. அந்த உடன்படிக்கையில் இரண்டு கருத்துகள் இருந்தன. 1) இருவரும் ஒன்றாகவே சேர்ந்து இரைதேடச் செல்ல வேண்டும்2) ஆபத்து வந்தால் சேர்ந்து போராடுவது இவைதாம் அந்தக் கருத்துகள். ஒருநாள் நரி நடக்கத் தொடங்கியது. அது கழுதையின் இருப்பிடத்தை நோக்கி நடந்தது. கொஞ்ச தூரம் நரி நடந்தது. அப்போது தான் நரி ஒரு சிங்கத்தைப் பார்த்தது. […]
Read MoreLearn the Static binding and Dynamic binding in Java:- Connecting a method call to the method body is known as binding. Binding as Two types Static Binding (also known as Early Binding).Dynamic Binding (also known as Late Binding). Static Binding: When type of the object is determined at compiled time(by the compiler), it is known […]
Read MoreLearn the significance of ‘protected’ keyword in Java by doing the below Assignment. Step #I1) Create a package ‘India’2) In this package, create a public class ‘Parent’3) Have below ‘default’ variables and methodsString name=”abcd”;int age = 60;void attendFunctions(){}void goToShop(){} Step #II1) In the same package ‘India’, create a public class ‘Sibling’. Make this class as […]
Read More