Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
Android
Python
C Programming
C++
C#
MySQL
Javascript
PHP
Selected Reading
UPSC IAS Exams Notes
Developer's Best Practices
Questions and Answers
Effective Resume Writing
HR Interview Questions
Computer Glossary
Who is Who
Fendadis John
has Published
106
Answers
What is the top IDE for c++ on Window?
C++
Object Oriented Programming
Programming
Fendadis John
Published on 15-Feb-2018 08:29:46
Big projects are difficult to manage on mere text editors. You're likely to be more productive and less frustrated if you use an IDE in such cases. There are various types of IDE's and you should select the right one which fits your needs. Here's a list of best C/C++ ...
Read More
History of C++ language
C++
Object Oriented Programming
Programming
Fendadis John
Published on 15-Feb-2018 06:54:35
The C++ programming language has a history going back to 1979, when Bjarne Stroustrup was doing work for his Ph.D. thesis. He began work on "C with Classes", which as the name implies was meant to be a superset of the C language. His goal was to add object-oriented programming ...
Read More
How to get the difference between two arrays in JavaScript?
Javascript
Web Development
Front End Technology
Fendadis John
Published on 12-Feb-2018 13:25:34
To get the difference between two arrays in JavaScript, try to run the following code. Here, we’re using some method like split(), indexOf(), sort(), etc to get the elements, which aren’t the same in both the arrays:ExampleLive Demo<html> <head> <title>JavaScript Dates</title> </head> <body> ...
Read More
Java String toLowerCase() method example.
Java 8
Object Oriented Programming
Programming
Fendadis John
Published on 12-Feb-2018 06:50:12
The toLowerCase() method has two variants. The first variant converts all of the characters in this String to lower case using the rules of the given Locale. This is equivalent to calling toLowerCase(Locale.getDefault()).The second variant takes a locale as an argument to be used while converting into lower case.ExampleLive Demoimport ...
Read More
Java String indexOf() method example.
Java 8
Object Oriented Programming
Programming
Fendadis John
Published on 12-Feb-2018 06:17:30
The IndexOf() method of the String class accepts a character as a parameter and it returns the index of the first occurrence of the specified character. In case if the String does not contain the specified character then it returns -1.ExampleLive Demoimport java.io.*; public class Test { public static ...
Read More
How to compare strings in Java?
Java 8
Object Oriented Programming
Programming
Fendadis John
Published on 09-Feb-2018 13:23:29
You can compare two Strings in Java using the compareTo() method, equals() method or == operator.The compareTo() method compares two strings. The comparison is based on the Unicode value of each character in the strings. The character sequence represented by this String object is compared lexicographically to the character sequence ...
Read More
Compare two strings lexicographically in Java.
Java 8
Object Oriented Programming
Programming
Fendadis John
Published on 09-Feb-2018 11:54:14
The compareTo() method of the String class. This method compares two Strings lexicographically. The comparison is based on the Unicode value of each character in the strings. The character sequence represented by this String object is compared lexicographically to the character sequence represented by the argument string. This method returnsa ...
Read More
Why string is immutable in Java?
Java 8
Object Oriented Programming
Programming
Fendadis John
Published on 09-Feb-2018 11:09:11
In general, strings are used to represent the vital details like database connection URLs, username passwords etc. The immutability of strings helps to keep such details unchanged.Similarly, String is used as an argument while loading the class. At that time change in the string may result in loading the wrong ...
Read More
How to import java.lang.String class in Java?
Java 8
Object Oriented Programming
Programming
Fendadis John
Published on 09-Feb-2018 10:32:14
To import any package in the current class you need to use the import keyword asimport packagename;ExampleLive Demoimport java.lang.String; public class Sample { public static void main(String args[]) { String s = new String("Hello"); System.out.println(s); } }OutputHello
Read More
Example to understand type of variables in Java
Java 8
Object Oriented Programming
Programming
Fendadis John
Published on 07-Feb-2018 07:54:27
There are three kinds of variables in Java −● Local variables● Instance variables● Class/Static variablesLocal Variables● Local variables are declared in methods, constructors, or blocks.● Local variables are created when the method, constructor or block is entered and the variable will be destroyed once it exits the method, constructor, or ...
Read More
Previous
1
...
5
6
7
8
9
10
11
Next
Advertisements