Monthly Archive: August 2015

Aug 30 2015

মুডল এর Backend বৈশিষ্ট্য । Moodle backend features and options for site administration

Moodle backend features and options for site administration

Permanent link to this article: http://bangla.salearningschool.com/%e0%a6%ae%e0%a7%81%e0%a6%a1%e0%a6%b2-%e0%a6%8f%e0%a6%b0-backend-%e0%a6%ac%e0%a7%88%e0%a6%b6%e0%a6%bf%e0%a6%b7%e0%a7%8d%e0%a6%9f%e0%a7%8d%e0%a6%af-%e0%a5%a4-moodle-backend-features-and-options-for-site/

Aug 29 2015

JavaScript Code

                var browser=navigator.appName;                 var b_version=navigator.appVersion; <a href=”http://www.justetc.net” target=”_blank”> <img border=”0″ alt=”hello” src=”b_pink.gif” id=”b1″ width=”26″ height=”26″ onmouseover=”mouseOver()” onmouseout=”mouseOut()” /> Place the following code under script tag/in a javascript file function mouseOver() {    document.getElementById(“b1″).src =”b_blue.gif”; } function mouseOut() {    document.getElementById(“b1″).src =”b_pink.gif”; } <map name=”planetmap”> <area shape =”rect” coords =”0,0,82,126″ onMouseOver=”writeText(‘You are over the target …

Continue reading »

Permanent link to this article: http://bangla.salearningschool.com/javascript-code/

Aug 29 2015

JavaScript Form Validation: Validate a Form Collecting Credit Card Information

    function validateCollectPaymentInformationForm()     {         var method, name, number, expiry, errMsg                  errMsg = “”;                  method = document.getElementById(‘paymentMethod’);         name =   document.getElementById(‘txtCCName’);         number = document.getElementById(‘txtCCNumber’);                  if (method.value == “” || method.value == “0” || method.value == null){ …

Continue reading »

Permanent link to this article: http://bangla.salearningschool.com/javascript-form-validation-validate-a-form-collecting-credit-card-information/

Aug 29 2015

Print three-dimensional valarray line-by-line

/* 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.  * Permission to copy, use, modify, sell and distribute this software  * is granted provided this copyright notice appears in …

Continue reading »

Permanent link to this article: http://bangla.salearningschool.com/print-three-dimensional-valarray-line-by-line/

Aug 29 2015

C++ Template Example

/* 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.  * Permission to copy, use, modify, sell and distribute this software  * is granted provided this copyright notice appears in …

Continue reading »

Permanent link to this article: http://bangla.salearningschool.com/c-template-example/

Aug 29 2015

Javascript : Miscellaneous Code

                var browser=navigator.appName;                 var b_version=navigator.appVersion; <a href=”http://www.justetc.net” target=”_blank”> <img border=”0″ alt=”hello” src=”b_pink.gif” id=”b1″ width=”26″ height=”26″ onmouseover=”mouseOver()” onmouseout=”mouseOut()” /> Place the following code under script tag/in a javascript file function mouseOver() {    document.getElementById(“b1″).src =”b_blue.gif”; } function mouseOut() {    document.getElementById(“b1″).src =”b_pink.gif”; } <map name=”planetmap”> <area shape =”rect” coords =”0,0,82,126″ onMouseOver=”writeText(‘You are over the target …

Continue reading »

Permanent link to this article: http://bangla.salearningschool.com/javascript-miscellaneous-code/

Aug 29 2015

Example demonstrating the use of packages

&&&&&&&&&&&&&&&&&&& Example demonstrating the use of packages.     * Class1.java defined in package1.     * Class2.java defined in package2.     * Class3.java defined in package2.package3.     * Class1.java defined in package4.     * PackageExample.java Driver for package example &&&&&&&&&&&&&&&&&&&&& ~~~~~~~~~~~~~~~~~~~~~ Class1.java defined in package1. ~~~~~~~~~~~~~~~~~~~~~ package package1; *****************   public class Class1 {   public …

Continue reading »

Permanent link to this article: http://bangla.salearningschool.com/example-demonstrating-the-use-of-packages/

Aug 29 2015

Code examples for interfaces

**************************** Code examples for interfaces:     * Class1.java implements Interface1.java     * Abstract Class2.java implements Interface1.java and Interface2.java     * Class3.java extends abstract class Class2.java     * Interface3.java extends Interface1.java and Interface2.java *************************** ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Class1.java ~~~~~~~~~~~~~~~~~~~~~~~~~~~ // This class is not abstract, so it must provide // implementations of method1 and method2. public class Class1 …

Continue reading »

Permanent link to this article: http://bangla.salearningschool.com/code-examples-for-interfaces/

Aug 29 2015

A Ship class illustrating object-oriented programming concepts

************************ Ship.java A Ship class illustrating object-oriented programming concepts. Incorporates Javadoc comments. See ShipTest.java for a test. ************************ /** Ship example to demonstrate OOP in Java.  *  *  @author  *          Larry Brown  *  @version 2.0  */ public class Ship {   // Instance variables   private double x=0.0, y=0.0, speed=1.0, direction=0.0;   private String name; …

Continue reading »

Permanent link to this article: http://bangla.salearningschool.com/a-ship-class-illustrating-object-oriented-programming-concepts/

Aug 29 2015

Accesses instance variables in a Ship object.

Test1.java Accesses instance variables in a Ship object. ******************************************************** // Create a class with five instance variables (fields): // x, y, speed, direction, and name. Note that Ship1 is // not declared “public”, so it can be in the same file as // Test1. A Java file can only contain one “public” class // definition. …

Continue reading »

Permanent link to this article: http://bangla.salearningschool.com/accesses-instance-variables-in-a-ship-object/

Older posts «

Skip to toolbar