Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– HelloWorld.java public class HelloWorld { // method main(): ALWAYS the APPLICATION entry point public static void main (String[] args) { System.out.println (“Hello World!”); } } // Print Today’s Date import java.util.*; public …
Tag: code
Permanent link to this article: http://bangla.sitestree.com/example-java-programs/
FruitCreation.java: Creates a simple table named fruits in either an Oracle or a Sybase database.
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– FruitCreation.java Creates a simple table named fruits in either an Oracle or a Sybase database. package cwp; import java.sql.*; /** Creates a simple table named “fruits” in either * an Oracle or a Sybase database. * …
Permanent link to this article: http://bangla.sitestree.com/fruitcreation-java-creates-a-simple-table-named-fruits-in-either-an-oracle-or-a-sybase-database/
Example illustrating inheritance and abstract classes
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– illustrating inheritance এবং abstract classes এর উদাহরণ Shape.java সব, বদ্ধ খোলা, বাঁকা, এবং সোজা পার্শ্বে ধারবিশিষ্ট আকার এর জন্য প্যারেন্ট ক্লাস (সারাংশ)। Curve.java একটি (সারাংশ) বাঁকা আকার (খোলা বা বন্ধ)। StraightEdgedShape.java সরাসরি ধার সম্বলিত একটি আকৃতি …
Permanent link to this article: http://bangla.sitestree.com/example-illustrating-inheritance-and-abstract-classes/
Some simple utilities for building Oracle and Sybase JDBC connections
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– এই সাধারণ উদ্দেশ্যে তৈরিকৃত কোড নয় – এটা আমাদের লোকাল সেটআপ এর ক্ষেত্রে প্রযোজ্য। package cwp; /** Some simple utilities for building Oracle and Sybase * JDBC connections. This is not general-purpose * code — …
Permanent link to this article: http://bangla.sitestree.com/some-simple-utilities-for-building-oracle-and-sybase-jdbc-connections/
FruitTest.java: A class that connects to either an Oracle or a Sybase database and prints out the values of predetermined columns in the “fruits” table.
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– # FruitTest.java A class that connects to either an Oracle or a Sybase database and prints out the values of predetermined columns in the “fruits” table. package cwp; import java.sql.*; /** A JDBC example that connects …
Permanent link to this article: http://bangla.sitestree.com/fruittest-java-a-class-that-connects-to-either-an-oracle-or-a-sybase-database-and-prints-out-the-values-of-predetermined-columns-in-the-fruits-table/
J2SE : LinkedList and Iterators in Java
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– /* * LinkedList.java * * Created on January 10, 2008, 8:51 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package linkedlist; import java.util.List; …
Permanent link to this article: http://bangla.sitestree.com/j2se-linkedlist-and-iterators-in-java/
Use sorting criterion in sort function
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– /* The following code example is taken from the book * “The C++ Standard Library – A Tutorial and Reference” * by Nicolai M. Josuttis, Addison-Wesley, 1999 * * (C) Copyright Nicolai M. Josuttis 1999. * …
Permanent link to this article: http://bangla.sitestree.com/use-sorting-criterion-in-sort-function/
C++ code : Read file content
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– #include <iostream> #include <fstream> using namespace std; int main() { ifstream in(“test”, ios::in | ios::binary); if(!in) { cout << “Cannot open input file.\n”; return 1; } double num; char …
Permanent link to this article: http://bangla.sitestree.com/c-code-read-file-content/
Sort objects stored in deque
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– /* The following code example is taken from the book * “The C++ Standard Library – A Tutorial and Reference” * by Nicolai M. Josuttis, Addison-Wesley, 1999 * * (C) Copyright Nicolai M. Josuttis 1999. * …
Permanent link to this article: http://bangla.sitestree.com/sort-objects-stored-in-deque/
Expressions.jsp Page that demonstrates JSP expressions. Uses the JSP-Styles style sheet.
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– Expressions.jsp Page that demonstrates JSP expressions. Uses the JSP-Styles style sheet. <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <!– Example of JSP Expressions. Taken from Core Web Programming Java 2 Edition from Prentice Hall …
Permanent link to this article: http://bangla.sitestree.com/expressions-jsp-page-that-demonstrates-jsp-expressions-uses-the-jsp-styles-style-sheet/
A simple C++ Program code
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– #include <iostream> #include <fstream> using namespace std; int main() { ifstream in(“test”, ios::in | ios::binary); if(!in) { cout << “Cannot open input file.\n”; return 1; } double num; char …
Permanent link to this article: http://bangla.sitestree.com/a-simple-c-program-code/
valarray with double value inside
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– /* The following code example is taken from the book * “The C++ Standard Library – A Tutorial and Reference” * by Nicolai M. Josuttis, Addison-Wesley, 1999 * * (C) Copyright Nicolai M. Josuttis 1999. * …
Permanent link to this article: http://bangla.sitestree.com/valarray-with-double-value-inside/
Permanent link to this article: http://bangla.sitestree.com/%e0%a6%8f%e0%a6%87%e0%a6%9a%e0%a6%9f%e0%a6%bf%e0%a6%8f%e0%a6%ae%e0%a6%8f%e0%a6%b2-5-%e0%a6%b8%e0%a7%8d%e0%a6%9f%e0%a6%be%e0%a6%87%e0%a6%b2-%e0%a6%97%e0%a6%be%e0%a6%87%e0%a6%a1-%e0%a6%8f%e0%a6%ac/
এইচটিএমএল রঙ (HTML Color codes chart)
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– এইচটিএমএল রঙ (HTML Color Names) স্বর্ণা আখতার স্বর্ণা আখতারআমরা জানি একেকটি কালার হলো লাল, নীল এবং সবুজ এর সমন্বিত রূপ। সাধারনত, ১৪০ টি কালার আছে যেগুলো সব ওয়েব ব্রাউজারেই সাপোর্ট করে। এই ১৪০ টি নাম …
Permanent link to this article: http://bangla.sitestree.com/%e0%a6%8f%e0%a6%87%e0%a6%9a%e0%a6%9f%e0%a6%bf%e0%a6%8f%e0%a6%ae%e0%a6%8f%e0%a6%b2-%e0%a6%b0%e0%a6%99-html-color-codes-chart/
এইচটিএমএল কম্পিউটার কোডের উপাদান (HTML Computer Code Elements)
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– HTML Computer Code Elements AbuJubair Mahin Computer Code var person = { firstName:”John”, lastName:”Doe”, age:50, eyeColor:”blue” } এইচটি এম এল কম্পিউটার কোডের উপাদান (HTML Computer Code Elements) সাধারণত, এইচটিএমএল পরিবর্তনশীল letter size, …
Permanent link to this article: http://bangla.sitestree.com/%e0%a6%8f%e0%a6%87%e0%a6%9a%e0%a6%9f%e0%a6%bf-%e0%a6%8f%e0%a6%ae-%e0%a6%8f%e0%a6%b2-%e0%a6%95%e0%a6%ae%e0%a7%8d%e0%a6%aa%e0%a6%bf%e0%a6%89%e0%a6%9f%e0%a6%be%e0%a6%b0-%e0%a6%95%e0%a7%8b%e0%a6%a1/
এইচটিএমএল এর মৌলিক বিষয় (HTML Basic Example)
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– এইচ টি এম এল এর সাধারন বিষয়াবলী স্বর্ণা আখতার (টিউটোরিয়াল টি পড়ার আগে অবশ্যই আপনাকে এইচ টি এম এল ট্যাগ এর ব্যবহার সম্পর্কে জানতে হবে। পরবর্তী অধ্যায় এ ট্যাগ সম্পর্কে আলোচনা করা হয়েছে।) এইচ …
Permanent link to this article: http://bangla.sitestree.com/%e0%a6%8f%e0%a6%87%e0%a6%9a-%e0%a6%9f%e0%a6%bf-%e0%a6%8f%e0%a6%ae-%e0%a6%8f%e0%a6%b2-%e0%a6%8f%e0%a6%b0-%e0%a6%ae%e0%a7%8c%e0%a6%b2%e0%a6%bf%e0%a6%95-%e0%a6%ac%e0%a6%bf%e0%a6%b7%e0%a7%9f-html-basic-e/
A simple applet that uses the ClickListener class
Huge Sell on Popular Electronics Subscribe to Our Youtube Channel –|–Our Online Shop:ShopForSoul–|Get Trained in AI, Big-Data, Data Science– ClickReporter.java A simple applet that uses the ClickListener class to handle mouse events. *************** import java.applet.Applet; import java.awt.*; /** Prints a message saying where the user clicks. * Uses an external listener. * ****** public …
Permanent link to this article: http://bangla.sitestree.com/a-simple-applet-that-uses-the-clicklistener-class/