Sami Elkady

Coding, Software and Tech Reviews

JAVA BEGINNERS TUTORIAL – Arrays

Java provides a data structure, the array, which stores a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type. Instead of declaring individual variables, such as […]

Bootstrap Website template – Starting and Header

Bootstrap is one of the most important web framework for faster and easier web development. It uses HTML, CSS and Javascript as any other framework. in this post I will start a new tutorial on creating a full template using Bootstrap. the main landing page of the template is single page template with anchor menu […]

JAVA – string methods – 3

This the third post for Java string methods. In this post I will detail more functions and its functionalities. split() This method has two variants and splits this string around matches of the given regular expression. Syntax: public String[] split(String regex, int limit) or public String[] split(String regex) regex — the delimiting regular expression. limit — […]

JAVA – string methods – 2

This the second post for Java string methods. In this post I will detail more functions and its functionalities.  matches() This method tests string against given regular expression. This method returns true only if this string matches the given regular expression. Syntax: public boolean matches(String regex) regex  the regular expression.

JAVA – string methods – 1

Java is rich with methods to handle strings and strings manipulation. In this post I will detail the most used string methods and usage of each one. لعبة الاحجار الفرعونية As string functions are much and important I will make this post divided to several posts in a series to be easy to follow and […]

JAVA BEGINNERS TUTORIAL – Working with Strings

Strings are a sequence of characters. In the Java, strings are objects. The Java platform provides the String class to create and manipulate strings. Creating Strings: The most direct way to create a string is to write: String greeting = “Hello Java!”; Whenever it encounters a string literal in your code, the compiler creates a […]

JAVA BEGINNERS TUTORIAL – Working with Characters

when we need to use one character and dealwith it we use primitive data types char. char ch = ‘a’; // Unicode for the arrow ↘ as character char uniChar = ‘\u2198’; // an array of chars char[] charArray ={ ‘a’, ‘b’, ‘c’, ‘d’, ‘e’ }; in development, we come across some situations where we need […]

JAVA BEGINNERS TUTORIAL – Dealing With Numbers 3

this how I review basics of a language to write what I reviewed in blog posts also it will be good interance for Android development. the good news now it become dialy as I need to review also other languages before release some open source case studies this blog post is the last one of […]

JAVA BEGINNERS TUTORIAL – Dealing With Numbers 2

Back to number methods and more function to discuss 🙂 toString() The method is used to get a String object representing the value of the Number Object. If the method takes a primitive data type as an argument, then the String object representing the primitive data type value is return.  If the method takes two […]