Tag Archives: detail

Detail Description About Java Arrays


How to initialize an Array in Java An array can be one dimensional or it can be multidimensional also. When we invoke length of an array, it returns the number of rows in array or the value of left most dimension. We can initialize array using new keyword or using shortcut syntax which creates and initialize array at the same ... Read More »

Detail Description About Core Java Basics


We can use java access modifiers with Classes as well as Class variables and methods. We are allowed to use only �public� or �default� access modifiers with java classes. 1.If a class is �public� then we can access it from anywhere, i.e from any other class located in any other packages etc. 2.We can have only one �public� class in ... Read More »

Detail Description About Java Collections Framework?


What is Java Collections Framework? Collections are like containers that groups multiple items in a single unit. For example; a jar of chocolates, list of names etc. Collections are used almost in every programming language and when Java arrived, it also came with few Collection classes; Vector, Stack, Hashtable, Array. Java 1.2 provided Collections Framework that is architecture to represent ... Read More »

Detail Description About Java 7 Features


Java Switch Case Java switch case is a neat way to code for conditional flow, just like if-else conditions. Before Java 7, the only means to achieve string based conditional flow was using if-else conditions. But Java 7 has improved the switch case to support String also. Java switch case String Example Here I am providing a java program that ... Read More »

Detail Description About Python Strings


Accessing Strings: �In Python, Strings are stored as individual characters in a contiguous memory location. �The benefit of using String is that it can be accessed from both the directions in forward and backward. �Both forward as well as backward indexing are provided using Strings in Python. oForward indexing starts with 0,1,2,3,…. oBackward indexing starts with -1,-2,-3,-4,…. Strings Operators There ... Read More »

Show Buttons
Hide Buttons